package com.loong.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/** 数据字典 @TableName tb_dict */
@TableName(value = "tb_dict")
@Data
public class Dict implements Serializable {
  @Serial
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;
  /** id */
  @TableId private String id;
  /** 模块标识 */
  private String type;
  /** 值 */
  private String value;
  /** 描述 */
  private String description;
  /** 模块名 */
  private String moduleName;
  /** 逻辑删除 */
  @TableLogic
  private Integer deleted;
  /** 创建时间 */
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime gmtCreate;
  /** 修改时间 */
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime gmtModified;
}
